---
import { Code } from '@astrojs/starlight/components';

const code = `
final cubitA = CounterCubit(0); // state starts at 0
final cubitB = CounterCubit(10); // state starts at 10
`;
---

<Code code={code} lang="dart" title="main.dart" />
